/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.wind.wallsopenings;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.wind.WindConstants;

public class WindPercentageGlassDoorWindowOpeningListBox extends AbstractClassificationSchemeListBox {

	private WindConstants constants;

	public WindPercentageGlassDoorWindowOpeningListBox()
	{
		
		constants = (WindConstants)GWT.create(WindConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaWindGlassDoorWindowUNKNOWN(), "0 = Unknown");
		this.addItem(constants.schemaWindGlassDoorWindow0TO10(), "1 = 0 to 10%");
		this.addItem(constants.schemaWindGlassDoorWindow11TO20(), "2 = 11 to 20%");
		this.addItem(constants.schemaWindGlassDoorWindow21TO30(), "3 = 21 to 30%");
		this.addItem(constants.schemaWindGlassDoorWindow31TO40(), "4 = 31 to 40%");
		this.addItem(constants.schemaWindGlassDoorWindow41TO50(), "5 = 41 to 50%");
		this.addItem(constants.schemaWindGlassDoorWindow51TO60(), "6 = 51 to 60%");
		this.addItem(constants.schemaWindGlassDoorWindowGREAT60(), "7 = > 60%");
	}
	
/*
# glass door and window opening
schemaWindGlassDoorWindowUNKNOWN=Unknown
schemaWindGlassDoorWindow0TO10=0 to 10%
schemaWindGlassDoorWindow11TO20=11 to 20%
schemaWindGlassDoorWindow21TO30=21 to 30%
schemaWindGlassDoorWindow31TO40=31 to 40%
schemaWindGlassDoorWindow41TO50=41 to 50%
schemaWindGlassDoorWindow51TO60=51 to 60%
schemaWindGlassDoorWindowGREAT60=> 60%
0 = Unknown
1 = 0 to 10%
2 = 11 to 20%
3 = 21 to 30%
4 = 31 to 40%
5 = 41 to 50%
6 = 51 to 60%
7 = > 60%
*/	
}
